import request from '@/utils/request'

// 获取文章列表数据
/**
 * 
 * articlTypeId  文章类型id
 */
 export const getArticlList = (data) => {
    return request({
        url: '/api/bll/article/list',
        method: 'GET',
        params: data
    })
}

// 获取文章数据
/**
 * 
 * id 文章类型id
 */
 export const getArticl = (data) => {
    return request({
        url: '/api/bll/article/' + data,
        method: 'get',
        // params:data
    })
}

// 获取文章上级的列表数据
/**
 * 
 * parentId 文章类型parentId
 */
 export const getArticlMeunList = (data) => {
    return request({
        url: '/api/bll/article_type/list',
        method: 'get',
        params: data
    })
}